package com.bw.mvvm.mvvm.model;


import com.bw.mvvm.entity.BaseEntity;

import java.util.HashMap;

import io.reactivex.Observable;
import okhttp3.RequestBody;

public interface IModel {

    //创建requestBody请求体
    RequestBody createBody(HashMap<String,Object> map);

    //RxjavaMap操作转换符->baseEntity
    Observable<BaseEntity> changeFunc(Observable<? extends BaseEntity> observable);
}
